﻿<controls:ChildWindow x:Class="VAdvantage.Search.InfoPAttribute"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           Title="InfoPAttribute">

    <Grid>
        <Grid x:Name="LayoutRoot" Margin="2">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
            </Grid.RowDefinitions>

            <Grid x:Name="tblpTop" Grid.Row="0" Margin="2" MinHeight="100">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
            </Grid>
            
            <Button x:Name="CancelButton"  Click="CancelButton_Click" Width="35" Height="35" HorizontalAlignment="Right" Margin="1,1,38,1" Grid.Row="2" >
                <Image Stretch="Fill" Source="/VAdvantage;component/Images/cancel_up.png" />
            </Button>
            <Button x:Name="OKButton" Click="OKButton_Click" Width="35" Height="35" HorizontalAlignment="Right" Margin="1" Grid.Row="2" >
                <Image Stretch="Fill" Source="/VAdvantage;component/Images/right_up.png"  />
            </Button>
        </Grid>
        <Grid x:Name="busyWindow" Background="LightGray" Opacity=".5" Visibility="Collapsed" MouseLeftButtonDown="busyWindow_MouseLeftButtonDown">
            <TextBlock FontFamily="Courier New" FontStyle="Italic" x:Name="txtBusy" Visibility="Collapsed" FontSize="22" Text="Loading..." VerticalAlignment="Center" HorizontalAlignment="Center"></TextBlock>
        </Grid>

    </Grid>
</controls:ChildWindow>